package com.zzxx.userManagement.dao;

import com.zzxx.userManagement.domain.UserInfo;

import java.util.List;
import java.util.Map;

public interface UserInfoDao {
    List<UserInfo> findAll();

    void deleteById(Integer id);

    UserInfo findById(Integer id);

    void update(UserInfo userInfo);

    void add(UserInfo userInfo);

    List<UserInfo> findByPage(int start, int pageSize, Map<String, String[]> condition);

    int findCount(Map<String, String[]> condition);
}
